//hint "EW_DEBUG_destroy_device Called";

_magazinesPlayer = magazines player;
_itemsPlayer = items player;

if ("DemoCharge_Remote_Mag" in _magazinesPlayer) then {
	player removeMagazine "DemoCharge_Remote_Mag";
	hint "Charge set for 30 seconds, GET BACK!!";
	sleep 30;
	_detonation = for "_i" from 1 to 2 do {"R_60mm_HE" createvehicle (getpos device_open);};
	device_open setdammage 1;
	radioTower setdammage 1;
	[[["objective","towerdestroyed"]],"BIS_fnc_advHint",nil,true] spawn BIS_fnc_MP;
}else{
	//hint "MISSING DEMO CHARGE";
	[["thedevice","demochargemissing"]] call BIS_fnc_advHint;
};